<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Role extends Model
{
    const ROLES = [
        '2' => '普通管理员',
        '3' => '人事',
        '4' => '普通预览者',
    ];

    const ROLES_ID = [
        '普通管理员' => 2,
        '人事' => 3,
        '普通预览者' => 4,
    ];

    const ROLES_NAME = [
        '2' => 'manage',
        '3' => 'hr',
        '4' => 'user',
    ];

    public $timestamps = false;

    protected $guarded = [];
}
